package com.csdj.t309.paper.service;

import com.csdj.t309.paper.entity.Tuser;
import com.csdj.t309.paper.mapper.TuserMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("TuserService")
public class TuserServiceImpl implements TuserService{

    @Resource
    TuserMapper tuserMapper;

    @Override
    public Tuser login(String userCode, String userPassword) {

        return tuserMapper.login(userCode,userPassword);
    }
}
